package com.edward.weather.strategy;

import com.edward.weather.model.WeatherData;
import com.edward.weather.vo.request.WeatherRequestVO;

public interface WeatherApiStrategy {

    /**
     * 获取天气
     * @param location 编号
     * @return
     */
    WeatherData getWeather(String location);

    /**
     * 实体转换
     * @return
     */
    WeatherData parseWeatherData(String responseStr);

    /**
     * 获取天数的天气
     * @param weatherRequestVO
     * @return
     */
    WeatherData dayWeather(WeatherRequestVO weatherRequestVO);
}